<?php
function isend($content){
    $url = "http://218.64.5.102:81/ipmsg/index.php";
    $post_data = array (
        "siteName" => $_SERVER['HTTP_HOST'],
         "mainContent" => $content,

        );
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

    curl_setopt($ch, CURLOPT_POST, 1);

    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    $output = curl_exec($ch);
    curl_close($ch);
    #echo $output;
    }

//isend('看看看看');